<template>
	
	<view>
		<view v-for="(item,index) in StudentRecordingDatas" :key="index">
			<tabList01Item :StudentRecordingData="item"></tabList01Item>
		</view>
	</view>
	
</template>

<script>
	import {
		// getTest,
		getStudentRecordingById
	} from '@/api/status/service.js';
	
	import tabList01Item from "./tabList01Item.vue"
	export default{
		components:{
			tabList01Item
		},
		data(){
			return{
				Stuid:4,
				StudentRecordingDatas:'',
			}
		},
		created() {
			//id怎么来?
			this.Stuid = uni.getStorageSync("Stuid");
			this.loadData(this.Stuid);
		},
		methods:{
			loadData(id){
				getStudentRecordingById(id)
				.then(res=>{
					this.StudentRecordingDatas= res.data;
					console.log(res.data)
				}).catch(res=>{
					console.log(res)
				})
			}
		}
	}
</script>

<style>
</style>
